package com.xc.quickstart.api.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserInfoVO {

    @ApiModelProperty(value = "商户权限")
    private List<Map<String, String>> allowmchids;

    @ApiModelProperty(value = "最新登陆时间")
    @JSONField(name = "last_login_time")
    private String lastLoginTime;

    @ApiModelProperty(value = "id")
    @JSONField(name = "user_id")
    private Integer userId;

    @ApiModelProperty(value = "名称")
    @JSONField(name = "user_name")
    private String userName;

    @ApiModelProperty(value = "钉钉id")
    @JSONField(name = "dd_user_id")
    private String ddUserId;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "海豚token")
    private String token;

    @ApiModelProperty(value = "等级")
    @JSONField(name = "manager_level")
    private Integer managerLevel;

    @ApiModelProperty(value = "等级名称")
    @JSONField(name = "manager_name")
    private String managerName;

    @ApiModelProperty(value = "部门id")
    @JSONField(name = "depart_id")
    private Integer departId;

    @ApiModelProperty(value = "管理员权限")
    private Boolean adminUser;

    @ApiModelProperty(value = "上级部门id")
    @JSONField(name = "dept_parent_id")
    private Integer deptParentId;

    @ApiModelProperty(value = "上级部门名称")
    @JSONField(name = "dept_parent_name")
    private String deptParentName;

    @ApiModelProperty(value = "部门名称")
    @JSONField(name = "depart_name")
    private String departName;

    @ApiModelProperty(value = "工号")
    @JSONField(name = "jobnumber")
    private String jobNumber;


}
